package com.zbkj.crmeb.store.response;

import com.zbkj.crmeb.store.model.StoreProduct;
import com.zbkj.crmeb.system.model.SystemCity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("ChannelFreeShippingActivityResponse对象")
public class ChannelFreeShippingActivityResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "活动时间类型 0：长期有效 1：活动时间段")
    private Integer activityTimeType;

    @ApiModelProperty(value = "活动开始时间")
    private String activityStartTime;

    @ApiModelProperty(value = "活动结束时间")
    private String activityEndTime;

    @ApiModelProperty(value = "活动商品 1:全部商品 0：选择商品")
    private Integer allProduct;

    @ApiModelProperty(value = "商品")
    private List<StoreProduct> products;

    @ApiModelProperty(value = "优惠条件 0：满元 1：满件")
    private Integer preferentialType;

    @ApiModelProperty(value = "优惠门槛")
    private Integer preferentialCondition;

    @ApiModelProperty(value = "是否包邮")
    private Boolean freeShipping;

    @ApiModelProperty(value = "是否设置不包邮地区")
    private Boolean notFreeAreaSetting;

    @ApiModelProperty(value = "不包邮地区 空:不设置不包邮", example = "[1,2,3]")
    private List<SystemCity> notFreeArea;

}
